package com.paradogs.framework.annotations.exceptionHandler;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author: yumi
 * @date: 2023/12/28  15:31
 * @Description: 指定异常的方法处理映射
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface PRExceptionMapping {

    Class<? extends Throwable> value();

}
